package com.zh.familyInfo.dao;

import com.zh.familyInfo.domain.IllDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 老人既往病史表
 * @author 马广洋
 * @email 1992lcg@163.com
 * @date 2019-05-25 10:54:07
 */
@Mapper
public interface IllDao {

	IllDO get(String id);

	/**
	 * 根据【ill_time】患病时间查询
	 * @param map
	 * @return
	 */
	List<IllDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(IllDO ill);
	
	int update(IllDO ill);
	
	int remove(String id);
	
	int batchRemove(String[] ids);
}
